package com.kxmall.rider.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.kxmall.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 配送对象 kx_rider
 *
 * @author kxmall
 * @date 2023-09-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("kx_rider")
public class KxRider extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 配送员主键ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 配送员名字
     */
    private String name;
    /**
     * 开始配送时间
     */
    private String deliveryStart;
    /**
     * 结束配送时间
     */
    private String deliveryEnd;
    /**
     * 联系电话
     */
    private String phone;
    /**
     *
     */
    private String avatarUrl;
    /**
     * 登录ip
     */
    private String lastLoginIp;
    /**
     *
     */
    private Date gmtLastLogin;
    /**
     * 登录类型
     */
    private Integer loginType;
    /**
     *
     */
    private String openId;
    /**
     * 配送员状态
     */
    private Integer state;
    /**
     * 开工状态
     */
    private Integer workState;
    /**
     * 骑手登录密码
     */
    private String password;
    /**
     * 所属仓库
     */
    private Long storageId;
    /**
     * 配送范围
     */
    private Long deliveryRadius;


    private String gzhOpenId;

    private Integer sex;

    private String birthday;

    private String realName;
}
